<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>thymeleaf测试</title>
</head>
<body>
   <h1>th:text 测试</h1>
    <!--th:text 将div里面显示的文本设置为-->
   <div th:text="${hello}">显示</div>
   <hr/>
   <div th:utext="${hello}"></div>
</body>
</html>